/**
 * Vertex data for each vertex
 * @author 捣蛋鬼x
 *
 */
public class VertexData{
		
	private boolean visited;//whether the vertex has been visited
	private int excessFlow; //used in preflow
	private int vertexHeight; //used in preflow

	public VertexData(){
		this.visited = false;
		this.vertexHeight=0;
		this.excessFlow=0;
	}

	public int getExcessFlow() {
		return excessFlow;
	}

	public void setExcessFlow(int excessFlow) {
		this.excessFlow = excessFlow;
	}

	public int getVertexHeight() {
		return vertexHeight;
	}

	public void setVertexHeight(int vertexHeight) {
		this.vertexHeight = vertexHeight;
	}

	public VertexData(boolean visited){
		this.visited = visited;
	}	

	public boolean isVisited() {
		return visited;
	}

	public void setVisited(boolean visited) {
		this.visited = visited;
	}

	
}